package com.esteel.settlement.pa.packet;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;
/**
 * 查银行端会员资金台帐余额model
 * zhouwentong
 */
@XmlRootElement(name="Array")
@XmlAccessorType(XmlAccessType.FIELD)
public class Query1010Array extends ResultArray{

	private static final long serialVersionUID = -9096724726900623264L;
	 //子账户
	 @XmlElement(name="CustAcctId")
	 @Length(max=32)
	 @NotEmpty
	 private String custAcctId;
	 //子账户性质  1：虚拟账号，2：实体账号
	 @XmlElement(name="CustFlag")
	 private int custFlag;
	 //子账户属性   1：普通会员子账户 2：挂账子账户  3：手续费子账户 4：利息子账户 6：清收子账户
	 @XmlElement(name="CustType")
	 private int custType;
	 //子账户状态  1：正常  2：已销户
	 @XmlElement(name="CustStatus")
	 private int custStatus;
	 //交易网会员代码
	 @XmlElement(name="ThirdCustId")
	 @Length(max=32)
	 @NotEmpty
	 private String thirdCustId;
	 //上级监管账号
	 @XmlElement(name="MainAcctId")
	 @Length(max=32)
	 @NotEmpty
	 private String mainAcctId;
	 //会员名称
	 @XmlElement(name="CustName")
	 @Length(max=120)
	 @NotEmpty
	 private String custName;
	 //账户总余额
	 @XmlElement(name="TotalAmount")
	 private double totalAmount;
	 //账户可用余额
	 @XmlElement(name="TotalBalance")
	 private double totalBalance;
	 //账户总冻结金额
	 @XmlElement(name="TotalFreezeAmount")
	 private double totalFreezeAmount;
	 //维护日期  开户日期或修改日期
	 @XmlElement(name="TranDate")
	 private Date tranDate;
	public String getCustAcctId() {
		return custAcctId;
	}
	public int getCustFlag() {
		return custFlag;
	}
	public int getCustType() {
		return custType;
	}
	public int getCustStatus() {
		return custStatus;
	}
	public String getThirdCustId() {
		return thirdCustId;
	}
	public String getMainAcctId() {
		return mainAcctId;
	}
	public String getCustName() {
		return custName;
	}
	public double getTotalAmount() {
		return totalAmount;
	}
	public double getTotalBalance() {
		return totalBalance;
	}
	public double getTotalFreezeAmount() {
		return totalFreezeAmount;
	}
	public Date getTranDate() {
		return tranDate;
	}
	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}
	public void setCustFlag(int custFlag) {
		this.custFlag = custFlag;
	}
	public void setCustType(int custType) {
		this.custType = custType;
	}
	public void setCustStatus(int custStatus) {
		this.custStatus = custStatus;
	}
	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}
	public void setMainAcctId(String mainAcctId) {
		this.mainAcctId = mainAcctId;
	}
	public void setCustName(String custName) {
		this.custName = custName;
	}
	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}
	public void setTotalBalance(double totalBalance) {
		this.totalBalance = totalBalance;
	}
	public void setTotalFreezeAmount(double totalFreezeAmount) {
		this.totalFreezeAmount = totalFreezeAmount;
	}
	public void setTranDate(Date tranDate) {
		this.tranDate = tranDate;
	}
	@Override
	protected String[] order() {
		String[] objs = {"custAcctId","custFlag","custType","custStatus","thirdCustId","mainAcctId","custName","totalAmount","totalBalance","totalFreezeAmount","tranDate"};
		return objs;
	}
	 
	 
	
}
